package test.java;

import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;

/**
 * Created this one by HMH on 2017/6/11.
 */
public class test {

    public static void main(String[] args) throws IOException {
//        String root = "java/lang/Double";
        String root = "java.util";
        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
        Enumeration<URL> rs = classLoader.getResources(root);
        System.out.println(rs);
        if (rs.hasMoreElements()) {
            System.out.println(rs);
        }
    }
}
